wayland: Fix xdg-output v3 support
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 3 Sep 2019 13:59:18 +0000 (15:59 +0200)
committerOlivier Fourdan <ofourdan@redhat.com>
Tue, 3 Sep 2019 14:13:24 +0000 (16:13 +0200)
commit31393704de939ce442bc696b565b404c27e97489
tree5481348e12063f4ead74d86ea4f54a01db326eb5
parent848a19a013d80e43e0fca88513adaa5fd83312c4
wayland: Fix xdg-output v3 support

The xdg_output.done event is deprecated in xdg-output v3, so clients
need to rely on the wl_output.done event instead.

However, applying the changes on the fist wl_output.event when using
xdg-output v3 may lead to an incomplete change, as following xdg-output
updates may follow.

Make sure we apply xdg-output events on wl_output.done events with
xdg-output v3.

https://gitlab.gnome.org/GNOME/gtk/issues/2128
gdk/wayland/gdkdisplay-wayland.c